#!/usr/bin/python
# Write Python 3 code in this online editor and run it.

str1 = "AABCDEFGHHIJ"

str2 = str1[1:-3]

print(str2)